<script>
import img1 from "../assets/01.jpg"
import img2 from "../assets/02.jpg"
import img3 from "../assets/03.jpg"
import img4 from "../assets/04.jpg"
export default {
  name: "Hello",
  data(){
   return{
     imgs:[img1,img2,img3,img4]
   }
}
}
</script>

<template>
    <el-carousel height="600px">
      <el-carousel-item v-for="(img,index) in imgs" :key="index">
        <h3 class="small"><img :src="img"/></h3>
      </el-carousel-item>
    </el-carousel>
</template>

<style scoped>
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 150px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}
</style>
